import VueRouter from 'vue-router'
import Vue from 'vue'
Vue.use(VueRouter)
import login from '@/views/login/login.vue'
const router = new VueRouter({
    routes:[
        {
            path:'/',
            redirect:'/login'   
        },
        {
            path:'/login',
            component:login
        }   
    ]
})

// 输出 router
export default router